package br.com.summoner.util;



import br.com.summoner.util.HibernateUtil;
import br.com.summoner.model.dao.ClienteDAO;
import br.com.summoner.model.entity.ClienteDAOHibernate;

public class DAOFactory {

	public static ClienteDAO criaClienteDAO() {
		ClienteDAOHibernate clienteDAOHibernate = new ClienteDAOHibernate();
		clienteDAOHibernate.setSessao(HibernateUtil.getSession()
				.getCurrentSession());
		return clienteDAOHibernate;
	}

}
